While trying to figure out how to convert variables into XML,
I created a bunch of hypothetical data to test any techniques I came up with.

I have a bunch of variables of every kind that I would need to store:
- variable
- variable array
- multi-dimensional arrays
- objects
- arrays of objects

I also wrote up what it SHOULD be in XML form.
If I can make the code recreate these results, I will have succeeded.
The process can simply be reversed to de-code the XML.
(in fact, that's probably a good way to approach this challenge!)
(XML functions will probably make this easier)



I would like a recursive function that simply iterates through all variables
copied into an object designated for saving "saveTo"

An alternative is to more manually save every variable that I know I'll need,
detecting object arrays where they're likely
- Event scripts	(known to reside in events)
- motion scripts	(known to reside in "motion" commands)
HTML & value scripts are stored as single strings, so they're easy to store.



The biggest challenge is saving arrays of objects.
There's no good way to store the index number... but it isn't necessary!
(If I had to, I COULD store the index as an attribute)
But I don't have to!  I'll be interating through it via .childNodes(#) anyway.
(if I convert it to XML)
